<html>
<body>
<p>报告以下 EJB 规范违规：</p>
<ul>
  <li>实现某些 EJB 相关接口的类的名称以 'ejb' 开头。</li>
  <li>侦听器类未定义任何侦听器方法</li>
</ul>

<p><b>示例：</b></p>
<pre><code>
@Stateless
public class ExampleBean {

  @Interceptors(GoodInterceptor.class)
  public void getSomeData() { ... }

  @Interceptors(EmptyInterceptor.class)
  public void getSomeData() { ... }
}

class GoodInterceptor {

  @AroundInvoke
  public Object logAll(InvocationContext context) throws Exception { ... }

  @PostConstruct
  public Object logCreate(InvocationContext context) throws Exception { ... }
}

class EmptyInterceptor {} // 错误：没有特定方法的侦听器类
</code></pre>
</body>
</html>
